package cn.iocoder.yudao.module.bill.controller.admin.bill_cate.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 账单分类新增/修改 Request VO")
@Data
public class BillCateSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "9425")
    private Long id;

    @Schema(description = "分类", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "分类不能为空")
    private String clsName;

    @Schema(description = "收支类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotEmpty(message = "收支类型不能为空")
    private String amountType;

    @Schema(description = "父ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "22994")
    @NotNull(message = "父ID不能为空")
    private Long parentId;

    @Schema(description = "排序号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "排序号不能为空")
    private Long orderNum;

    @Schema(description = "批注", example = "你猜")
    private String remark;

}